import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import NewsList from '@/components/news/NewsList'
import NewsPage from '@/components/news/NewsPage'
import VideoList from '@/components/video/VideoList'
import VideoPage from '@/components/video/VideoPage'
import BlogList from '@/components/blog/BlogList'
import BlogPage from '@/components/blog/BlogPage'
import Feedback from '@/components/Feedback'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },{
      path: '/NewsList',
      name: 'NewsList',
      component: NewsList
    },{
      path: '/NewsList/NewsPage',
      name: 'NewsPage',
      component: NewsPage
    },{
      path: '/VideoList',
      name: 'VideoList',
      component: VideoList
    },{
      path: '/VideoList/VideoPage',
      name: 'VideoPage',
      component: VideoPage
    },{
      path: '/BlogList',
      name: 'BlogList',
      component: BlogList
    },{
      path: '/BlogList/BlogPage',
      name: 'BlogPage',
      component: BlogPage
    },{
      path: '/Feedback',
      name: 'Feedback',
      component: Feedback
    }
  ]
})
